package de.hundezimmer.beans;

import java.io.Serializable;
import java.util.Vector;

public class CustomerDogs implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7508139257056280319L;
	private Vector<Dog> dogs;
	private Customer customer;

	public CustomerDogs(Customer customer, Vector<Dog> dogs) {
		this.customer = customer;
		this.dogs = dogs;
	}

	public void addDog(Dog dog) {
		dogs.add(dog);
	}

	public Customer getCustomer() {
		return customer;
	}

	public Vector<Dog> getDogs() {
		return dogs;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public void setDogs(Vector<Dog> dogs) {
		this.dogs = dogs;
	}

}
